﻿@using NUS.ISS.ARS.BusinessEntity.ViewModels
@model NUS.ISS.ARS.BusinessEntity.ViewModels.FlightBookingTripView


<div class="cancelbooking">

  @foreach (var item in Model.BookingTripDetailViews)
  {
           
           <tr>
                <td>
                    @Html.DisplayFor(modelItem => Model.ReferenceNumber)
                    @Html.HiddenFor(model => model.ReferenceNumber)
                </td>
                 <td>

                    @Html.DisplayFor(modelItem => Model.FlightNo)
                    @Html.HiddenFor(model => model.FlightNo)
                </td>
                <td>
                    @Html.Label(Model.FlightDate.ToShortDateString())
                </td>         
                <td>
                    @Html.DisplayFor(modelItem => Model.FromAirportName)
                    @Html.HiddenFor(model => model.FromAirportName)
                </td>         
                <td>
                    @Html.DisplayFor(modelItem => Model.DepartureTime)
                    @Html.HiddenFor(model => model.DepartureTime)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => Model.ArrivalTime)
                    @Html.HiddenFor(model => model.ArrivalTime)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => Model.ToAirportName)
                    @Html.HiddenFor(model => model.ToAirportName)
                </td>           
                <td>
                    @Html.DisplayFor(modelItem => Model.PassengerName)
                    @Html.HiddenFor(model => model.PassengerName)
                </td>    
                <td>
                    @Html.DisplayFor(modelItem => item.Passengername)
                    @Html.HiddenFor(model => item.Passengername)
                </td>       
           </tr>
  }
                 
                   @Html.HiddenFor(model => model.BookingTripDetailViews)
               

 </div>